//
//  ST_DaliyMomentDetialEmptyView.swift
//  btvideo
//
//  Created by mac on 2020/7/25.
//  Copyright © 2020 JarvanZhang. All rights reserved.
//

import UIKit

class ST_DaliyMomentDetialEmptyView: UIView {

    
    static let height:CGFloat = 192-10
    
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self.addSubview(cover_image_view)
        cover_image_view.snp.makeConstraints { (make) in
            make.width.height.equalTo(120)
            make.centerX.equalToSuperview()
            make.top.equalToSuperview().offset(10)
        }
        
        self.addSubview(content_label)
        content_label.snp.makeConstraints { (make) in
            make.height.equalTo(22)
            make.centerX.equalToSuperview()
            make.top.equalToSuperview().offset(140)
        }
        
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    fileprivate lazy var content_label:UILabel = {
            let control = UILabel.init()
            control.text = "快来抢第一个评论呀"
            control.textColor = UIColor.init(hexString: "#ACB4C0")
            control.numberOfLines = 0
            control.textAlignment = .center
            control.font = UIFont.systemFont(ofSize: 16, weight: UIFont.Weight.regular)
            return control
        }()



    fileprivate lazy var cover_image_view:UIImageView = {
        let control = UIImageView.init(image: ST_ImageUtils.imageName("comment_empty_icon"))
          return control
      }()
}
